package com.woniu.project.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.project.core.domain.ShopStore;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Klaus
 * @since 2020-10-15
 */
public interface ShopStoreMapper extends BaseMapper<ShopStore> {

    @Select("SELECT * from pawn_shop_store where store_id = #{StoreId}")
    List<ShopStore> selectShopStoreByStoreId(Integer StoreId);

    @Delete("DELETE from pawn_shop_store where store_id = #{StoreId}")
    void deleteShopStoreByStoreId(String StoreId);
}
